package com.cos.emp.entity;

import java.io.Serializable;

/**
 * @author: COS
 * @time: 2021/11/18 14:40
 * @description:
 */
public class Dept implements Serializable {
    private int dno;
    private String dname;

    public Dept() {
    }

    public Dept(int dno, String dname) {
        this.dno = dno;
        this.dname = dname;
    }

    public int getDno() {
        return dno;
    }

    public void setDno(int dno) {
        this.dno = dno;
    }

    public String getDname() {
        return dname;
    }

    public void setDname(String dname) {
        this.dname = dname;
    }
}
